package com.wanma.recuit.mapper;

import com.wanma.recuit.pojo.Company;
import com.wanma.recuit.pojo.CompanyUser;
import org.apache.ibatis.annotations.Param;

public interface CompanyMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Company record);

    int insertSelective(Company record);

    Company selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Company record);

    int updateByPrimaryKey(Company record);

    int insertOneCompanyInfo(@Param("company") Company company);
    int updateTwoCheckIofo(@Param("company") Company company);
    int  updateTwoThree(@Param("company") Company company);
    Company getCompany(@Param("companyUser") CompanyUser companyUser);
    Company  findCompany(@Param("companyUser") CompanyUser companyUser);
}